package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.jpa.model.BaseModel;
import xyz.erupt.upms.model.EruptUser;

import javax.persistence.ManyToOne;
import javax.persistence.Transient;

@Erupt(name = "带绑卡列表分配客服")
@Getter
@Setter
public class LoanOrderByUnBankAllotVo extends BaseModel {


    @Transient
    @ManyToOne
    @EruptField(
            edit = @Edit(
                    title = "分配的审核客服",
                    notNull = true,
                    type = EditType.REFERENCE_TREE
            )
    )
    private EruptUser authServiceUser;

}
